<?php defined('SYSPATH') or die('No direct script access.');

class Demo_Controller extends Controller {
	
	public function __construct()
	{
		parent::__construct();
	}
	
	public function index()
	{
		$demo = new View('demo');
		$demo->test = 'Testing some content<br/>';
		$demo->anothervar = 'Variable<br/>';
		$demo->testingif = 'Text<br/>';
		$demo->switcher = 'Switching';
		
		$demo->render(TRUE);
	}
}